﻿<UserControl x:Class="WMIDocumentor.UI.WMIDocumentorUI"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
              xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             mc:Ignorable="d" 
             Height="480" Width="700">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>

        </Grid.RowDefinitions>
        <xctk:Wizard x:Name="wzDocGen" FinishButtonClosesWindow="False" Grid.Row="0" Finish="wzDocGen_Finish" PageChanged="wzDocGen_PageChanged">
            <xctk:WizardPage x:Name="IntoPage" Title="Bienvenue dans WMI Documentor" Description="Ce logiciel vous permettra de créer une documentation pour Serveur"/>
            <xctk:WizardPage x:Name="DocumentInfoPage" Title="Information du document">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="200"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <Label Grid.Row="0" Content="Chemin du fichier"/>
                    <Label Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" x:Name="lblPath"/>
                    <Button Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" x:Name="btnSave" Content="Parcourir" Click="btnSave_Click"/>
                    <Label Grid.Row="1">Auteur</Label>
                    <TextBox x:Name="txtAuthor" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center"/>
                    <Label Grid.Row="2">Description</Label>
                    <TextBox x:Name="txtDescription" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" Text="Audit d'un serveur"/>
                    <Label Grid.Row="3">Sujet</Label>
                    <TextBox x:Name="txtSubject" Grid.Row="3" Grid.Column="1" VerticalAlignment="Center" Text="Audit"/>
                    <Label Grid.Row="4">Titre</Label>
                    <TextBox x:Name="txtTitle" Grid.Row="4" Grid.Column="1" VerticalAlignment="Center" Text="Serveur"/>
                </Grid>
            </xctk:WizardPage>
            <xctk:WizardPage x:Name="FinishPage" NextButtonVisibility="Hidden" Title="Le document est prêt à étre généré" Description="Cliquez sur Finish pour que le document soit généré" CanFinish="True"/>
            <xctk:WizardPage x:Name="Terminated" Title="Génération du document" HelpButtonVisibility="Hidden" BackButtonVisibility="Hidden" CancelButtonVisibility="Hidden" FinishButtonVisibility="Hidden" NextButtonVisibility="Hidden">
                <xctk:WizardPage.Content>
                    <StackPanel>
                        <Label x:Name="lblTarget"/>
                        <ProgressBar x:Name="pBar" Height="15" IsIndeterminate="True"/>
                    </StackPanel>
                </xctk:WizardPage.Content>
            </xctk:WizardPage>
            <xctk:WizardPage x:Name="EndWizard" Title="Document généré" HelpButtonVisibility="Hidden" BackButtonVisibility="Hidden" CancelButtonVisibility="Hidden" FinishButtonVisibility="Hidden" NextButtonVisibility="Hidden"/>
        </xctk:Wizard>
    </Grid>
</UserControl>
